package com.zhiche.lisa.bms.pojo.dto.util;

import java.util.Date;

/**
 * @Author: liuanshun
 * @Description:
 * @Date: Create in 14:59 2019/2/18
 */
public class OtmServiceResult {
	private boolean success;
	private String messageCode;
	private String message;
	private Date timestamp;
	private String data;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessageCode() {
		return messageCode;
	}

	public void setMessageCode(String messageCode) {
		this.messageCode = messageCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Date getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "OtmServiceResult{" +
				"success=" + success +
				", messageCode='" + messageCode + '\'' +
				", message='" + message + '\'' +
				", timestamp=" + timestamp +
				", data=" + data +
				'}';
	}
}
